<?php
	require(dirname(__FILE__).'/../library/configs.php');
	function __autoload($class)
	{
		if(file_exists(ROOT_ADMIN.'/controllers/'.$class.'.php'))
		{
			include ROOT_ADMIN.'/controllers/'.$class.'.php';
		}
        if(file_exists(ROOT_ADMIN.'/models/'.$class.'.php'))
		{
			include ROOT_ADMIN.'/models/'.$class.'.php';
		}
	}
	/*
	* Include các lớp và các module dùng chung cho toàn website
	* .........
	*/
    include_once ROOT_CLASSES.'/API/api.php';
	include_once ROOT_CLASSES.'/API/helpers.php';
	include_once ROOT_CLASSES.'/DB/Table.php';
?>